<?php 
	if(count($adc->getCountryList()) > 0)
	{ // print_r($adc->getCountryList());
		?>
        <div class="control-group">
    		<div class="controls">
            	<label for="country"><?php echo ucfirst($txt->getWord('country')); ?></label><div class="clearfix"></div>
                <select name="country" onchange="submit();" class="input-large form-control">
                    <option value="" <?php echo $txt->getIsSelectedHTML('', $_REQUEST['country'], true); ?>><?php echo ucfirst($txt->getWord('all')); ?></option>
                    <?php 
                    foreach($adc->getCountryList() as $country)
                    {
                        if($country['active'] > 0)
                        {
                        ?>
                        <option value="<?php echo $country['iso'] ?>" <?php echo $txt->getIsSelectedHTML($country['iso'], $_REQUEST['country']); ?>><?php echo $country['printable_name'] ?></option>
                        <?php
                        }
                    }
                    ?>
                </select>
        	</div>
		</div>
		<?php
	}
	if($adc->getSetting('RegionZonesId') > 0)
	{
		if(count($shop->getShippingZones($adc->getSetting('RegionZonesId'))) > 0)
		{
			
			?>
            <div class="control-group">
                <div class="controls">
                	<div class="radio">
                    	<label for="zone0"> 
                        	<input type="radio" name="zone" id="zone0" value="0" <?php echo $txt->getIsCheckedHTML(0, intval($_REQUEST['zone']), true); ?> onchange="submit();" /><?php echo ucfirst($txt->getWord('all').' '.$txt->getWord('areas')); ?> </label>
                    </div>
                    <?php 
                    foreach($shop->getShippingZones(7) as $zone)
                    {
                        ?>
                        <div class="radio">
                        	<label for="zone"> 
                            	<input type="radio" name="zone" id="zone_<?php echo $zone['id']; ?>" value="<?php echo $zone['id']; ?>" <?php echo $txt->getIsCheckedHTML($zone['id'], intval($_REQUEST['zone'])); ?> onchange="submit();"><?php echo $zone['title']; ?>
                            </label>
                        </div>
                        <?php
                    }
				?>
                </div>
           </div>
           <?php
		}
	}
?>